<script>
import Vue from 'vue'
export default {
  onLaunch: function () {
    uni.getSystemInfo({
      success: function (e) {
        Vue.prototype.StatusBar = e.statusBarHeight
        let custom = wx.getMenuButtonBoundingClientRect()
        Vue.prototype.Custom = custom
        Vue.prototype.CustomBar = custom.bottom + custom.top - e.statusBarHeight
      },
    })
  },
  onShow: function () {
    console.log('App Show')
  },
  onHide: function () {
    console.log('App Hide')
  },
  globalData:{
    token:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiIxIiwic3ViIjoiNzZkMTgxNWMtMjBhMy00YzAzLWEwYzYtYjQ5NDFmYWNhZjE3IiwiZXhwIjoxNjM0MTE0MDQ0fQ.XPf9-vPS8GneN_sDrS9uPdKeRqAkDxTksyftL3mNX6uqy4L7xjcioWUGMoD5T4CzVG7biGp78katghhZxjmfJA',
    //微信个人信息
    userinfo:{}
  }
}
</script>

<style lang="scss">
// uView UI
@import 'uview-ui/index.scss';
//ColorUI
@import 'colorui/main.css';
@import 'colorui/icon.css';
//icon图标
@import './style/icon.css'
</style>
